package com.rc.evcharger.model.enterprise;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EnterpriseSubmemberShareExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public EnterpriseSubmemberShareExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andSubmemberShareIdIsNull() {
            addCriterion("submember_share_id is null");
            return (Criteria) this;
        }

        public Criteria andSubmemberShareIdIsNotNull() {
            addCriterion("submember_share_id is not null");
            return (Criteria) this;
        }

        public Criteria andSubmemberShareIdEqualTo(Long value) {
            addCriterion("submember_share_id =", value, "submemberShareId");
            return (Criteria) this;
        }

        public Criteria andSubmemberShareIdNotEqualTo(Long value) {
            addCriterion("submember_share_id <>", value, "submemberShareId");
            return (Criteria) this;
        }

        public Criteria andSubmemberShareIdGreaterThan(Long value) {
            addCriterion("submember_share_id >", value, "submemberShareId");
            return (Criteria) this;
        }

        public Criteria andSubmemberShareIdGreaterThanOrEqualTo(Long value) {
            addCriterion("submember_share_id >=", value, "submemberShareId");
            return (Criteria) this;
        }

        public Criteria andSubmemberShareIdLessThan(Long value) {
            addCriterion("submember_share_id <", value, "submemberShareId");
            return (Criteria) this;
        }

        public Criteria andSubmemberShareIdLessThanOrEqualTo(Long value) {
            addCriterion("submember_share_id <=", value, "submemberShareId");
            return (Criteria) this;
        }

        public Criteria andSubmemberShareIdIn(List<Long> values) {
            addCriterion("submember_share_id in", values, "submemberShareId");
            return (Criteria) this;
        }

        public Criteria andSubmemberShareIdNotIn(List<Long> values) {
            addCriterion("submember_share_id not in", values, "submemberShareId");
            return (Criteria) this;
        }

        public Criteria andSubmemberShareIdBetween(Long value1, Long value2) {
            addCriterion("submember_share_id between", value1, value2, "submemberShareId");
            return (Criteria) this;
        }

        public Criteria andSubmemberShareIdNotBetween(Long value1, Long value2) {
            addCriterion("submember_share_id not between", value1, value2, "submemberShareId");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNull() {
            addCriterion("tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNotNull() {
            addCriterion("tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeEqualTo(String value) {
            addCriterion("tenant_code =", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotEqualTo(String value) {
            addCriterion("tenant_code <>", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThan(String value) {
            addCriterion("tenant_code >", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_code >=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThan(String value) {
            addCriterion("tenant_code <", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_code <=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLike(String value) {
            addCriterion("tenant_code like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotLike(String value) {
            addCriterion("tenant_code not like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIn(List<String> values) {
            addCriterion("tenant_code in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotIn(List<String> values) {
            addCriterion("tenant_code not in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeBetween(String value1, String value2) {
            addCriterion("tenant_code between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_code not between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andMemberIdIsNull() {
            addCriterion("member_id is null");
            return (Criteria) this;
        }

        public Criteria andMemberIdIsNotNull() {
            addCriterion("member_id is not null");
            return (Criteria) this;
        }

        public Criteria andMemberIdEqualTo(Long value) {
            addCriterion("member_id =", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotEqualTo(Long value) {
            addCriterion("member_id <>", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThan(Long value) {
            addCriterion("member_id >", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThanOrEqualTo(Long value) {
            addCriterion("member_id >=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThan(Long value) {
            addCriterion("member_id <", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThanOrEqualTo(Long value) {
            addCriterion("member_id <=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdIn(List<Long> values) {
            addCriterion("member_id in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotIn(List<Long> values) {
            addCriterion("member_id not in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdBetween(Long value1, Long value2) {
            addCriterion("member_id between", value1, value2, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotBetween(Long value1, Long value2) {
            addCriterion("member_id not between", value1, value2, "memberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIsNull() {
            addCriterion("enterprise_id is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIsNotNull() {
            addCriterion("enterprise_id is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdEqualTo(Long value) {
            addCriterion("enterprise_id =", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotEqualTo(Long value) {
            addCriterion("enterprise_id <>", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThan(Long value) {
            addCriterion("enterprise_id >", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThanOrEqualTo(Long value) {
            addCriterion("enterprise_id >=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThan(Long value) {
            addCriterion("enterprise_id <", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThanOrEqualTo(Long value) {
            addCriterion("enterprise_id <=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIn(List<Long> values) {
            addCriterion("enterprise_id in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotIn(List<Long> values) {
            addCriterion("enterprise_id not in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdBetween(Long value1, Long value2) {
            addCriterion("enterprise_id between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotBetween(Long value1, Long value2) {
            addCriterion("enterprise_id not between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdIsNull() {
            addCriterion("enterprise_member_id is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdIsNotNull() {
            addCriterion("enterprise_member_id is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdEqualTo(Long value) {
            addCriterion("enterprise_member_id =", value, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdNotEqualTo(Long value) {
            addCriterion("enterprise_member_id <>", value, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdGreaterThan(Long value) {
            addCriterion("enterprise_member_id >", value, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdGreaterThanOrEqualTo(Long value) {
            addCriterion("enterprise_member_id >=", value, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdLessThan(Long value) {
            addCriterion("enterprise_member_id <", value, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdLessThanOrEqualTo(Long value) {
            addCriterion("enterprise_member_id <=", value, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdIn(List<Long> values) {
            addCriterion("enterprise_member_id in", values, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdNotIn(List<Long> values) {
            addCriterion("enterprise_member_id not in", values, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdBetween(Long value1, Long value2) {
            addCriterion("enterprise_member_id between", value1, value2, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdNotBetween(Long value1, Long value2) {
            addCriterion("enterprise_member_id not between", value1, value2, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andShareTypeIsNull() {
            addCriterion("share_type is null");
            return (Criteria) this;
        }

        public Criteria andShareTypeIsNotNull() {
            addCriterion("share_type is not null");
            return (Criteria) this;
        }

        public Criteria andShareTypeEqualTo(String value) {
            addCriterion("share_type =", value, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeNotEqualTo(String value) {
            addCriterion("share_type <>", value, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeGreaterThan(String value) {
            addCriterion("share_type >", value, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeGreaterThanOrEqualTo(String value) {
            addCriterion("share_type >=", value, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeLessThan(String value) {
            addCriterion("share_type <", value, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeLessThanOrEqualTo(String value) {
            addCriterion("share_type <=", value, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeLike(String value) {
            addCriterion("share_type like", value, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeNotLike(String value) {
            addCriterion("share_type not like", value, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeIn(List<String> values) {
            addCriterion("share_type in", values, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeNotIn(List<String> values) {
            addCriterion("share_type not in", values, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeBetween(String value1, String value2) {
            addCriterion("share_type between", value1, value2, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeNotBetween(String value1, String value2) {
            addCriterion("share_type not between", value1, value2, "shareType");
            return (Criteria) this;
        }

        public Criteria andFixedPowerIsNull() {
            addCriterion("fixed_power is null");
            return (Criteria) this;
        }

        public Criteria andFixedPowerIsNotNull() {
            addCriterion("fixed_power is not null");
            return (Criteria) this;
        }

        public Criteria andFixedPowerEqualTo(BigDecimal value) {
            addCriterion("fixed_power =", value, "fixedPower");
            return (Criteria) this;
        }

        public Criteria andFixedPowerNotEqualTo(BigDecimal value) {
            addCriterion("fixed_power <>", value, "fixedPower");
            return (Criteria) this;
        }

        public Criteria andFixedPowerGreaterThan(BigDecimal value) {
            addCriterion("fixed_power >", value, "fixedPower");
            return (Criteria) this;
        }

        public Criteria andFixedPowerGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("fixed_power >=", value, "fixedPower");
            return (Criteria) this;
        }

        public Criteria andFixedPowerLessThan(BigDecimal value) {
            addCriterion("fixed_power <", value, "fixedPower");
            return (Criteria) this;
        }

        public Criteria andFixedPowerLessThanOrEqualTo(BigDecimal value) {
            addCriterion("fixed_power <=", value, "fixedPower");
            return (Criteria) this;
        }

        public Criteria andFixedPowerIn(List<BigDecimal> values) {
            addCriterion("fixed_power in", values, "fixedPower");
            return (Criteria) this;
        }

        public Criteria andFixedPowerNotIn(List<BigDecimal> values) {
            addCriterion("fixed_power not in", values, "fixedPower");
            return (Criteria) this;
        }

        public Criteria andFixedPowerBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fixed_power between", value1, value2, "fixedPower");
            return (Criteria) this;
        }

        public Criteria andFixedPowerNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fixed_power not between", value1, value2, "fixedPower");
            return (Criteria) this;
        }

        public Criteria andSharePowerIsNull() {
            addCriterion("share_power is null");
            return (Criteria) this;
        }

        public Criteria andSharePowerIsNotNull() {
            addCriterion("share_power is not null");
            return (Criteria) this;
        }

        public Criteria andSharePowerEqualTo(BigDecimal value) {
            addCriterion("share_power =", value, "sharePower");
            return (Criteria) this;
        }

        public Criteria andSharePowerNotEqualTo(BigDecimal value) {
            addCriterion("share_power <>", value, "sharePower");
            return (Criteria) this;
        }

        public Criteria andSharePowerGreaterThan(BigDecimal value) {
            addCriterion("share_power >", value, "sharePower");
            return (Criteria) this;
        }

        public Criteria andSharePowerGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("share_power >=", value, "sharePower");
            return (Criteria) this;
        }

        public Criteria andSharePowerLessThan(BigDecimal value) {
            addCriterion("share_power <", value, "sharePower");
            return (Criteria) this;
        }

        public Criteria andSharePowerLessThanOrEqualTo(BigDecimal value) {
            addCriterion("share_power <=", value, "sharePower");
            return (Criteria) this;
        }

        public Criteria andSharePowerIn(List<BigDecimal> values) {
            addCriterion("share_power in", values, "sharePower");
            return (Criteria) this;
        }

        public Criteria andSharePowerNotIn(List<BigDecimal> values) {
            addCriterion("share_power not in", values, "sharePower");
            return (Criteria) this;
        }

        public Criteria andSharePowerBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("share_power between", value1, value2, "sharePower");
            return (Criteria) this;
        }

        public Criteria andSharePowerNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("share_power not between", value1, value2, "sharePower");
            return (Criteria) this;
        }

        public Criteria andFixedAccountIsNull() {
            addCriterion("fixed_account is null");
            return (Criteria) this;
        }

        public Criteria andFixedAccountIsNotNull() {
            addCriterion("fixed_account is not null");
            return (Criteria) this;
        }

        public Criteria andFixedAccountEqualTo(BigDecimal value) {
            addCriterion("fixed_account =", value, "fixedAccount");
            return (Criteria) this;
        }

        public Criteria andFixedAccountNotEqualTo(BigDecimal value) {
            addCriterion("fixed_account <>", value, "fixedAccount");
            return (Criteria) this;
        }

        public Criteria andFixedAccountGreaterThan(BigDecimal value) {
            addCriterion("fixed_account >", value, "fixedAccount");
            return (Criteria) this;
        }

        public Criteria andFixedAccountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("fixed_account >=", value, "fixedAccount");
            return (Criteria) this;
        }

        public Criteria andFixedAccountLessThan(BigDecimal value) {
            addCriterion("fixed_account <", value, "fixedAccount");
            return (Criteria) this;
        }

        public Criteria andFixedAccountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("fixed_account <=", value, "fixedAccount");
            return (Criteria) this;
        }

        public Criteria andFixedAccountIn(List<BigDecimal> values) {
            addCriterion("fixed_account in", values, "fixedAccount");
            return (Criteria) this;
        }

        public Criteria andFixedAccountNotIn(List<BigDecimal> values) {
            addCriterion("fixed_account not in", values, "fixedAccount");
            return (Criteria) this;
        }

        public Criteria andFixedAccountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fixed_account between", value1, value2, "fixedAccount");
            return (Criteria) this;
        }

        public Criteria andFixedAccountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fixed_account not between", value1, value2, "fixedAccount");
            return (Criteria) this;
        }

        public Criteria andShareAccountIsNull() {
            addCriterion("share_account is null");
            return (Criteria) this;
        }

        public Criteria andShareAccountIsNotNull() {
            addCriterion("share_account is not null");
            return (Criteria) this;
        }

        public Criteria andShareAccountEqualTo(BigDecimal value) {
            addCriterion("share_account =", value, "shareAccount");
            return (Criteria) this;
        }

        public Criteria andShareAccountNotEqualTo(BigDecimal value) {
            addCriterion("share_account <>", value, "shareAccount");
            return (Criteria) this;
        }

        public Criteria andShareAccountGreaterThan(BigDecimal value) {
            addCriterion("share_account >", value, "shareAccount");
            return (Criteria) this;
        }

        public Criteria andShareAccountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("share_account >=", value, "shareAccount");
            return (Criteria) this;
        }

        public Criteria andShareAccountLessThan(BigDecimal value) {
            addCriterion("share_account <", value, "shareAccount");
            return (Criteria) this;
        }

        public Criteria andShareAccountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("share_account <=", value, "shareAccount");
            return (Criteria) this;
        }

        public Criteria andShareAccountIn(List<BigDecimal> values) {
            addCriterion("share_account in", values, "shareAccount");
            return (Criteria) this;
        }

        public Criteria andShareAccountNotIn(List<BigDecimal> values) {
            addCriterion("share_account not in", values, "shareAccount");
            return (Criteria) this;
        }

        public Criteria andShareAccountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("share_account between", value1, value2, "shareAccount");
            return (Criteria) this;
        }

        public Criteria andShareAccountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("share_account not between", value1, value2, "shareAccount");
            return (Criteria) this;
        }

        public Criteria andBeginTimeIsNull() {
            addCriterion("begin_time is null");
            return (Criteria) this;
        }

        public Criteria andBeginTimeIsNotNull() {
            addCriterion("begin_time is not null");
            return (Criteria) this;
        }

        public Criteria andBeginTimeEqualTo(Date value) {
            addCriterion("begin_time =", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeNotEqualTo(Date value) {
            addCriterion("begin_time <>", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeGreaterThan(Date value) {
            addCriterion("begin_time >", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("begin_time >=", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeLessThan(Date value) {
            addCriterion("begin_time <", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeLessThanOrEqualTo(Date value) {
            addCriterion("begin_time <=", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeIn(List<Date> values) {
            addCriterion("begin_time in", values, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeNotIn(List<Date> values) {
            addCriterion("begin_time not in", values, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeBetween(Date value1, Date value2) {
            addCriterion("begin_time between", value1, value2, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeNotBetween(Date value1, Date value2) {
            addCriterion("begin_time not between", value1, value2, "beginTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("end_time is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("end_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(Date value) {
            addCriterion("end_time =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(Date value) {
            addCriterion("end_time <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(Date value) {
            addCriterion("end_time >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("end_time >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(Date value) {
            addCriterion("end_time <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("end_time <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<Date> values) {
            addCriterion("end_time in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<Date> values) {
            addCriterion("end_time not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(Date value1, Date value2) {
            addCriterion("end_time between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("end_time not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}